import request from '@/utils/request';
import { AxiosPromise } from 'axios';

// 查询封面
export const knowledgeApiSysPortalImages = (query?: any): AxiosPromise<any[]> => {
  return request({
      url: `/knowledge/api/sysPortalImages`,
      method: 'get',
      params: query
  });
};

// 删除图片
export const knowledgeApiSysPortalImagesDel = (ids: any): AxiosPromise<any> => {
  return request({
      url: `knowledge/api/sysPortalImages`,
      method: 'delete',
      data: ids
  });
};